package com.yingxin.yxerp.module.sys.entity.builder;

import cn.hutool.core.bean.BeanUtil;
import com.yingxin.yxerp.module.sys.entity.DingMessageSet;
import com.yingxin.yxerp.module.sys.vo.req.DingMessageSetCreateVo;

/**
 *
 * @author jiangxudong
 * @since 2022-05-13
 */
public class DingMessageSetBuilder {

    /**
    * build
    * @param vo
    * @return
    */
    public static DingMessageSet build(DingMessageSetCreateVo vo) {
        DingMessageSet dingMessageSet = new DingMessageSet();
        BeanUtil.copyProperties(vo, dingMessageSet);
        return dingMessageSet;
    }
}
